package com.project.controller;

import com.project.service.DeleteOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/delete")
public class DeleteOrderController {
	private DeleteOrderService deleteOrderService;
	public DeleteOrderService getDeleteOrderService() {
		return deleteOrderService;
	}
	@Autowired
	public void setDeleteOrderService(DeleteOrderService deleteOrderService) {
		this.deleteOrderService = deleteOrderService;
	}
	@RequestMapping("/updatetdelet")
	public String updatetdelet(String tid){
		return this.deleteOrderService.updatetdelet(tid);
	}
}